package demo1;

public class test {
    public static void main(String[] args) {
//        Dog dog=new Dog("qiqi",2);
        Dog dog=new Dog();
        dog.name="qiqi";
        dog.age=2;
        dog.eat();
//        dog.bark();
//        System.out.println("========");
//        Cat cat=new Cat("eiei",3);
////        cat.name="eiei";
////        cat.age=3;
//        cat.eat();
//        cat.miaomiao();
    }
}
